<template>
  <div class="page-container">
    <el-card>
      <template #header>
        <div class="card-header">
          <span>工具管理</span>
          <el-button type="primary">新增工具</el-button>
        </div>
      </template>
      
      <el-table :data="[]" border stripe v-loading="loading">
        <el-table-column prop="id" label="ID" width="80" />
        <el-table-column prop="name" label="名称" />
        <el-table-column prop="type" label="类型" />
        <el-table-column prop="category" label="分类" />
        <el-table-column prop="enabled" label="状态" width="80" />
        <el-table-column label="操作" width="150">
          <template #default>
            <el-button link type="primary">编辑</el-button>
          </template>
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const loading = ref(false)
</script>

<style scoped>
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>

